<%- include header %>
<div class="container" id="geren">
  <h2>亲爱的<%= user.name %>你好！欢迎回来！</h2>
  <p class="ziliao">[<a href="/ziliao/<%= user.name%>">编辑资料</a>]</p>
  <p class="xiangxi">[<a href="/xiangxi/<%= user.name%>">详细资料</a>]</p>
  <a href="/userdata">
    <img src="images/<%= user.name%>.jpg" alt="<%= user.name%>" onerror="this.src='images/touxiang/1.jpg'"><br/>
    <span>修改头像</span>
  </a>
  <div>
    <p>用户名：<%= user.name %></p>
    <p>注册邮箱：<%= user.email %></p>
    <p>注册时间：<%= user.today %></p>
  </div>
</div>
<% include chajian/kefu %>
<%- include footer %>